﻿namespace ONVIFRTSPFilter
{
    using System;
    using System.Runtime.InteropServices;

    [StructLayout(LayoutKind.Sequential, Pack=4), ComConversionLoss]
    public struct _AMMediaType
    {
        public Guid majortype;
        public Guid subtype;
        public int bFixedSizeSamples;
        public int bTemporalCompression;
        public uint lSampleSize;
        public Guid formattype;
        [MarshalAs(UnmanagedType.IUnknown)]
        public object pUnk;
        public uint cbFormat;
        [ComConversionLoss]
        public IntPtr pbFormat;
    }
}

